package com.handinglian.task.dto;

import lombok.Data;

import java.util.List;

@Data
public class ImportTaskDto {
    /**
     * excel正确的数据条数
     */
    private Integer successNumber;

    /**
     * excel有问题的数据条数
     */
    private Integer failureNumber;

    /**
     * excel表数据
     */
    private List<TaskTemplateExcel> taskTemplateExcels;

    public ImportTaskDto() {
    }

    public ImportTaskDto(Integer successNumber, Integer failureNumber, List<TaskTemplateExcel> taskTemplateExcels) {
        this.successNumber = successNumber;
        this.failureNumber = failureNumber;
        this.taskTemplateExcels = taskTemplateExcels;
    }
}
